import TimeLine from '../TimeLine/TimeLine';

export default class TimeLineHandler {
    constructor(callback, callbackNum) {
        this.timeLine = new TimeLine('timeline-box', 24, 400, callback, callbackNum);
    }

    getTimeLine() {
        return this.timeLine;
    }

    showTimeLine() {
        if (this.timeLine) {
            this.timeLine.show();
        }
        // $('#timeline-box').css('display', 'flex');
    }

    hideTimeLine() {
        if (this.timeLine) {
            this.timeLine.disappear();
        }
        // $('#timeline-box').css('display', 'none');
    }

}